from admincommand.models import AdminCommand

from django import forms

class SetStock(AdminCommand):

     class form(forms.Form):
         f = forms.FileField(label='Archivo')

     def get_command_arguments(self, forms_data):
         return [forms_data['f']], {}

class UpdateStock(AdminCommand):

     class form(forms.Form):
         f = forms.FileField(label='Archivo')

     def get_command_arguments(self, forms_data):
         return [forms_data['f']], {}

class ImportProducts(AdminCommand):

     class form(forms.Form):
         f = forms.FileField(label='Archivo')

     def get_command_arguments(self, forms_data):
         return [forms_data['f']], {}
